babl: bail early on paths that are bad ideas
authorØyvind Kolås <pippin@gimp.org>
Tue, 5 Sep 2017 01:36:22 +0000 (03:36 +0200)
committerØyvind Kolås <pippin@gimp.org>
Tue, 5 Sep 2017 11:37:09 +0000 (13:37 +0200)
commita40a89dbc2feb33cb30cedcb683c14839a13cb8e
treee4427255d62ed71ee5abca8c10fb8f8e1c2cd118
parentb44cead2004e81dadcd436efc670bd075e0a5e9a
babl: bail early on paths that are bad ideas

Not going through/bench-marking chains that will make the number of components
drop below the input/output counts, and not permitting a temporary lack of
alpha both fixes bugs at higher tolerances and speeds up path selection.
babl/babl-fish-path.c